import Vue from 'vue'
import App from './App'
import $app from "./common/common.js";
import store from './store'

import "@/filters/"
// import "./common/common.scss";
// import loading from '@/components/loading-lb/loading.js' 
Vue.config.productionTip = false
Vue.prototype.app=$app;
// Vue.prototype.$loading = loading
App.mpType = 'app'

Vue.prototype.$showToast = function showToast(title, iconStatus = 'none') {
	uni.showToast({
		title,
		duration: 2000,
		icon: iconStatus
	});
}

const app = new Vue({
    store,
    ...App
})
app.$mount()
